package com.lab.component.list.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.lab.adapter.IAdapterData;

import butterknife.ButterKnife;

/**
 * Created by baziii on 15/8/7.
 */
public abstract class CTRecycleViewHolder<T extends IAdapterData> extends RecyclerView.ViewHolder {

    public CTRecycleViewHolder(View itemView) {
        super(itemView);
        ButterKnife.bind(this, itemView);
    }

    public abstract void render(T t, int position);

}
